package dj.service;

import java.util.List;
import java.util.Map;

import dj.entity.AppCategory;
import dj.entity.AppInfo;
import dj.entity.AppVersion;
import dj.entity.DataDictionary;


public interface AppInfoService {
	
	List<AppInfo> selectPage(Map map);
	
	Integer selectAll(Map map);
	
	 List<DataDictionary> getDataDictionaryList();
	 
	 List<AppCategory> getCategoryList(Integer parentId);
	 
	 List<DataDictionary> getDataDictionaryStatus();
	 
	 AppInfo getAppInfo(Integer id);
	 
	 AppVersion getAppVersion(Integer id);
	 
	 boolean update(Map map);
	 
	 AppInfo getAppInfoIdName(Integer id,String softwareName,String APKName);
	 
	 boolean insert(AppInfo record);
	 
	 boolean updateAppInfo(AppInfo record);
	 
	 boolean updatelogo(Integer id);
	 
	 List<AppVersion> AppVersionApp(Integer aid);
	 
	 boolean insertAppVersion(AppVersion appVersion);
	 
	 boolean updateAppVersionId(Map<String,Object> map);
     boolean updateApk(Integer id);
     
     boolean updateAppVersion(AppVersion appVersion);
     
     boolean delAppInfo(Integer id);
     
     boolean updateAppStatus(Integer id,Long devId);
}
